<h1>Listing artists</h1>

<table border="0" cellspacing="1" cellpadding="0">
  <tr>
		<th>Name</th>
  </tr>
<% @artists.each do |artist| %>
	<tr>
		<td class="list_value"><%= artist.name %></td>
    <td><%= link_to 'Show', artist %>&nbsp;&nbsp;</td>
    <td><%= link_to 'Edit', edit_artist_path(artist) %>&nbsp;&nbsp;</td>
    <td><%= link_to 'Destroy', artist, :confirm => 'Are you sure?', :method => :delete %>&nbsp;&nbsp;</td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New artist', new_artist_path %>